package com.sjy.MyBlog.bean;

import java.sql.Timestamp;

public class ArticleWithBLOBs extends Article {
    private String content;

    private String description;

    public ArticleWithBLOBs(Integer id, String title, String keywords, Integer categoryId, String label, String titleImages, Integer status, Timestamp createTime, Timestamp modifyTime, Integer readNum, Integer agreeNum, Integer commNum, String content, String description) {
        super(id, title, keywords, categoryId, label, titleImages, status, createTime, modifyTime, readNum, agreeNum, commNum);
        this.content = content;
        this.description = description;
    }

    public ArticleWithBLOBs() {
        super();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }
}